import { Request, RequestForExportFile } from '@/plugins/supplier-request'
// 开票供应商管理 - 改名列表查询
export const queryInvoicingSupplierRecordService = (data) => {
  return Request('invoice-supplier/query-invoiceSupplier-all', 'post', data)
}
// 开票供应商管理 - 列表查询
export const queryInvoicingSupplierListService = (data) => {
  return Request('invoice-supplier/query-invoiceSupplier-only', 'post', data)
}
// 开票供应商管理 - 查看关联关系详情
export const queryInvoicingSupplierDetailService = (data) => {
  return Request('invoice-supplier/query-number-byId', 'post', data)
}
// 开票供应商管理 - 修改开票供应商名称
export const editInvoicingSupplieNameService = (data) => {
  return Request('invoice-supplier/update-invoiceSupplier', 'post', data)
}
// 开票供应商管理 - 运费管理列表 - 导出
export const exportInvoicingSupplieListService = (data) => {
  return RequestForExportFile('supplier/export/exportInvoiceSupplierName', 'get', data)
}
